<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<link href="${basePath}/static/css/Pigeonhole/Pigeonhole_list.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="${basePath}/static/css/medicalRecord_Search/medicalSearch.css"/>
<script type="text/javascript" src="${basePath}/static/publics/assets/jqPaginator/jqPaginator.js"></script>
<div class="list_NR">
        <div class="loc">
            <h3>统计报告</h3>
            <ul class="loc_loc">统计报告 > 月报统计
            </ul>
        </div>
        
        <div class="list_con_table">
            <input type="hidden" value="${medRecordQuery.totalCounts }" id="totalCountsHidden">
			 <form action="${basePath}/medrecord/queryMedrecordHomePage" method="get" id="queryForm">
	        	<div class="search_table">
                <ul class="clearfix" style="margin-bottom:0;">
                  <li class="Label_1" style="width:12%">请选择月份：&nbsp;</li>
                    <li class="Label_2" style="width:30%">
                        <input style="width:90%;" class="input_box" id="month"  value="" onFocus="WdatePicker({dateFmt:'yyyy-MM'})"  type="text" > 
                    </li>
                  
                   <li class="Label_5">
                        <div class="right">
                        	<input class="btn" type="button" value="确认"  onclick="monthReportPage()">
                        </div>
                    </li>
                </ul>
            </div>
	        </form>
			 
			
        </div>
       
      

       
    </div>
<script type="text/javascript" src="${basePath}/static/publics/assets/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript">
	
	function monthReportPage(){
	var month = $("#month").val();
	 if(!month){
	  layer.alert("请选择月份,再进行操作!",{icon:7});
	  return;
	 }
	 
	 
	 
	 
	  window.open( "${basePath}/report/edit_home_page_index_form?month="+encodeURI(encodeURI(month))+"", "_blank"); 
	 
	 
	}
	
</script>